package org.tony.entity;

import java.util.HashMap;
import java.util.Map;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 数据源提交到服务器的数据实体
 * @author tony
 *
 */
public class SubmitData {
	
	private String op ;
	private String relationId ;
	private String relationValue ;
	private Map<String,String> values = new HashMap<String, String>() ;
	public String getOp() {
		return op;
	}
	public void setOp(String op) {
		this.op = op;
	}
	public String getRelationId() {
		return relationId;
	}
	public void setRelationId(String relationId) {
		this.relationId = relationId;
	}
	public String getRelationValue() {
		return relationValue;
	}
	public void setRelationValue(String relationValue) {
		this.relationValue = relationValue;
	}
	public Map<String, String> getValues() {
		return values;
	}
	public void setValues(Map<String, String> values) {
		this.values = values;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return new ToStringBuilder(this).append("op", this.op).append(
				"relationValue", this.relationValue).append("relationId",
				this.relationId).append("values", this.values).toString();
	}
	
	

}
 